Optimal. Leaf size=155 \[ \frac {5 x}{8}+\frac {5 \cos (a+b x) \sin (a+b x)}{8 b}+\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 155, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4373, 2648,
2715, 8} \begin {gather*} -\frac {128 \sin ^5(a+b x) \cos ^9(a+b x)}{7 b}-\frac {160 \sin ^3(a+b x) \cos ^9(a+b x)}{21 b}-\frac {16 \sin (a+b x) \cos ^9(a+b x)}{7 b}+\frac {2 \sin (a+b x) \cos ^7(a+b x)}{7 b}+\frac {\sin (a+b x) \cos ^5(a+b x)}{3 b}+\frac {5 \sin (a+b x) \cos ^3(a+b x)}{12 b}+\frac {5 \sin (a+b x) \cos (a+b x)}{8 b}+\frac {5 x}{8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2648
Rule 2715
Rule 4373
Rubi steps
\begin {align*} \int \csc ^2(a+b x) \sin ^8(2 a+2 b x) \, dx &=256 \int \cos ^8(a+b x) \sin ^6(a+b x) \, dx\\ &=-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {640}{7} \int \cos ^8(a+b x) \sin ^4(a+b x) \, dx\\ &=-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {160}{7} \int \cos ^8(a+b x) \sin ^2(a+b x) \, dx\\ &=-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {16}{7} \int \cos ^8(a+b x) \, dx\\ &=\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+2 \int \cos ^6(a+b x) \, dx\\ &=\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {5}{3} \int \cos ^4(a+b x) \, dx\\ &=\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {5}{4} \int \cos ^2(a+b x) \, dx\\ &=\frac {5 \cos (a+b x) \sin (a+b x)}{8 b}+\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}+\frac {5 \int 1 \, dx}{8}\\ &=\frac {5 x}{8}+\frac {5 \cos (a+b x) \sin (a+b x)}{8 b}+\frac {5 \cos ^3(a+b x) \sin (a+b x)}{12 b}+\frac {\cos ^5(a+b x) \sin (a+b x)}{3 b}+\frac {2 \cos ^7(a+b x) \sin (a+b x)}{7 b}-\frac {16 \cos ^9(a+b x) \sin (a+b x)}{7 b}-\frac {160 \cos ^9(a+b x) \sin ^3(a+b x)}{21 b}-\frac {128 \cos ^9(a+b x) \sin ^5(a+b x)}{7 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 85, normalized size = 0.55 \begin {gather*} \frac {840 a+840 b x+105 \sin (2 (a+b x))-315 \sin (4 (a+b x))-63 \sin (6 (a+b x))+63 \sin (8 (a+b x))+21 \sin (10 (a+b x))-7 \sin (12 (a+b x))-3 \sin (14 (a+b x))}{1344 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 111, normalized size = 0.72
method | result | size |
risch | \(\frac {5 x}{8}-\frac {\sin \left (14 x b +14 a \right )}{448 b}-\frac {\sin \left (12 x b +12 a \right )}{192 b}+\frac {\sin \left (10 x b +10 a \right )}{64 b}+\frac {3 \sin \left (8 x b +8 a \right )}{64 b}-\frac {3 \sin \left (6 x b +6 a \right )}{64 b}-\frac {15 \sin \left (4 x b +4 a \right )}{64 b}+\frac {5 \sin \left (2 x b +2 a \right )}{64 b}\) | \(103\) |
default | \(\frac {-\frac {128 \left (\sin ^{5}\left (x b +a \right )\right ) \left (\cos ^{9}\left (x b +a \right )\right )}{7}-\frac {160 \left (\sin ^{3}\left (x b +a \right )\right ) \left (\cos ^{9}\left (x b +a \right )\right )}{21}-\frac {16 \sin \left (x b +a \right ) \left (\cos ^{9}\left (x b +a \right )\right )}{7}+\frac {2 \left (\cos ^{7}\left (x b +a \right )+\frac {7 \left (\cos ^{5}\left (x b +a \right )\right )}{6}+\frac {35 \left (\cos ^{3}\left (x b +a \right )\right )}{24}+\frac {35 \cos \left (x b +a \right )}{16}\right ) \sin \left (x b +a \right )}{7}+\frac {5 x b}{8}+\frac {5 a}{8}}{b}\) | \(111\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 87, normalized size = 0.56 \begin {gather*} \frac {840 \, b x - 3 \, \sin \left (14 \, b x + 14 \, a\right ) - 7 \, \sin \left (12 \, b x + 12 \, a\right ) + 21 \, \sin \left (10 \, b x + 10 \, a\right ) + 63 \, \sin \left (8 \, b x + 8 \, a\right ) - 63 \, \sin \left (6 \, b x + 6 \, a\right ) - 315 \, \sin \left (4 \, b x + 4 \, a\right ) + 105 \, \sin \left (2 \, b x + 2 \, a\right )}{1344 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.40, size = 87, normalized size = 0.56 \begin {gather*} \frac {105 \, b x - {\left (3072 \, \cos \left (b x + a\right )^{13} - 7424 \, \cos \left (b x + a\right )^{11} + 4736 \, \cos \left (b x + a\right )^{9} - 48 \, \cos \left (b x + a\right )^{7} - 56 \, \cos \left (b x + a\right )^{5} - 70 \, \cos \left (b x + a\right )^{3} - 105 \, \cos \left (b x + a\right )\right )} \sin \left (b x + a\right )}{168 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 95, normalized size = 0.61 \begin {gather*} \frac {105 \, b x + 105 \, a + \frac {105 \, \tan \left (b x + a\right )^{13} + 700 \, \tan \left (b x + a\right )^{11} + 1981 \, \tan \left (b x + a\right )^{9} + 3072 \, \tan \left (b x + a\right )^{7} - 1981 \, \tan \left (b x + a\right )^{5} - 700 \, \tan \left (b x + a\right )^{3} - 105 \, \tan \left (b x + a\right )}{{\left (\tan \left (b x + a\right )^{2} + 1\right )}^{7}}}{168 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.27, size = 149, normalized size = 0.96 \begin {gather*} \frac {5\,x}{8}+\frac {\frac {5\,{\mathrm {tan}\left (a+b\,x\right )}^{13}}{8}+\frac {25\,{\mathrm {tan}\left (a+b\,x\right )}^{11}}{6}+\frac {283\,{\mathrm {tan}\left (a+b\,x\right )}^9}{24}+\frac {128\,{\mathrm {tan}\left (a+b\,x\right )}^7}{7}-\frac {283\,{\mathrm {tan}\left (a+b\,x\right )}^5}{24}-\frac {25\,{\mathrm {tan}\left (a+b\,x\right )}^3}{6}-\frac {5\,\mathrm {tan}\left (a+b\,x\right )}{8}}{b\,\left ({\mathrm {tan}\left (a+b\,x\right )}^{14}+7\,{\mathrm {tan}\left (a+b\,x\right )}^{12}+21\,{\mathrm {tan}\left (a+b\,x\right )}^{10}+35\,{\mathrm {tan}\left (a+b\,x\right )}^8+35\,{\mathrm {tan}\left (a+b\,x\right )}^6+21\,{\mathrm {tan}\left (a+b\,x\right )}^4+7\,{\mathrm {tan}\left (a+b\,x\right )}^2+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________